home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A shiny green glass ball ornament',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 85,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (0,160,0),
- 'Direction': (0.85735,-0.30265,-0.416358),
- 'HighlightSize': 33
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (0,160,0),
- 'Direction': (-0.672493,-0.318387,0.668118),
- 'HighlightSize': 17
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (0,160,0),
- 'Direction': (0.338698,0.690706,0.638912),
- 'HighlightSize': 19
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (0,250,0),
- 'Direction': (-0.58265,-0.58265,-0.566603),
- 'HighlightSize': 22
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (0,128,0),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Christmas ball',
- 'PatternOpacity': 65,
- 'EnvironmentType': App.Constants.BubbleMapType.Environment
- },
- 'Gloss': 39,
- 'Opacity': 100,
- 'Shininess': 73
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-